package linkedlist;/*

 */

/**
 * @ClassName JosepfuNode
 * @Author Final
 * @Project DataStructures
 */
public class JosepfuNode {

    private int no;
    private  JosepfuNode next;

    public void setNo(int no) {
        this.no = no;
    }

    public JosepfuNode(int no){
        this.no=no;
    }

    public int getNo() {
        return no;
    }

    public JosepfuNode getNext() {
        return next;
    }

    public void setNext(JosepfuNode next) {
        this.next = next;
    }
}

